how to take input of array in one line in c